﻿using System;
using System.Web.UI.WebControls;
using RSSReader.classesCustom;
using System.Web.Services;
using System.Web.Script.Serialization;

namespace RSSReader
{
    public partial class WebForm1 : System.Web.UI.Page
    {
        private UserDataHandler udh;

        protected void Page_Load(object sender, EventArgs e)
        {
            //get object from session state
            udh = (UserDataHandler)Session["userDataHandler"];
        }

        protected void ObjectDataSource1_ObjectCreating(object sender, ObjectDataSourceEventArgs e)
        {
            e.ObjectInstance = udh;
        }

    }
}